/*
 * XMLText.cpp
 *
 *  Created on: 16 mars 2011
 *      Author: bmaillot
 */

#include "XMLText.h"
#include <string>

using namespace std;

XMLText::XMLText(std::string textContent)
{
	this->textContent = textContent;
}

string XMLText::toString()
{
	return this->textContent + "\n";
}

string XMLText::getNodeName()
{
	return "#PCDATA";
}
